//
//  gpuImageCameraViewController.h
//  iSeeColor
//
//  Created by narbeh shahnazarian on 12-11-10.
//  Copyright (c) 2012 Wyatt Gosling. All rights reserved.
//

#import <UIKit/UIKit.h>
//this class deals with image capture, image transformation and saving of images via the GPUImage framework
@interface gpuImageCameraViewController : UIViewController



- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil;


/**
 
 Description: the daltonize filter is set up then the camera is chained to it and is displayed on the screen.
 Args: void
 Purpose: to run the daltonization algorithm on the camera.
 Returns: void
 Pre: n/a
 Post: n/a
 
 */
- (void)viewDidLoad;

/**
 
 Description: the IBAction cameraSnapShot represents taking a photo with the GPUImage framework and saving that photo into the users photolibrary or DropBox.  The image is taken in a "daltonized" filter and as such is saved in its transformed state as a PNG file in the applications documents folder.
 Args: sender
 Purpose: to act as the action for activationg the camera interface and to save photos.
 Returns: The gpuImageCamera view is presented to the user.
 Pre: n/a
 Post: The photo taken is saved as a PNG file in the applications documents folder

 */
- (IBAction)cameraSnapShot:(id)sender;


- (void)didReceiveMemoryWarning;
@end
